#include "Editor.h"
#include "Colors.hpp"
#include "GenericKeys.h"
#include "GUIManager.h"

// Ctr
Editor::Editor()
{

}

// Dtr
Editor::~Editor()
{

}

// Event handler
void Editor::handle_events()
{
	while(SDL_PollEvent(&event))
	{
		editorManager.HandleEvents(&event);
	}
}

// Update
void Editor::logic()
{
	editorManager.Update();
}

// Render
void Editor::render()
{
	editorManager.Render(event);
}